package cn.szabadsag.product.mapper;


import cn.szabadsag.base.mapper.BaseMapper;
import cn.szabadsag.product.domain.Product;

import java.util.List;
import java.util.Map;

public interface ProductMapper extends BaseMapper<Product> {
    //void onsale(Map<String, Object> params);

    void offSale(Map<String, Object> params);

    Product loadByIdDetail(Long id);

    //  宠物领养下架
    void offsale(List<Long> list);

    //  宠物领养上架
    void onsale(List<Long> list);
}
